USE [Exhibition]
GO
/****** Object:  Table [dbo].[Users]    Script Date: 04/23/2012 09:41:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Users](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserName] [varchar](100) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[Password] [varchar](100) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[UserType] [int] NOT NULL,
	[Email] [varchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[Phone] [varchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[IsValid] [int] NOT NULL,
	[CreateTime] [datetime] NOT NULL
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0-normal,1-suspend,2-delete' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Users', @level2type=N'COLUMN',@level2name=N'IsValid'